<template>
<div id="app">
  <router-view/>
  <Tabbar v-if="$route.path !== '/login'"></Tabbar>
</div>
</template>
<script>
import Tabbar from '../src/components/TabbarPart.vue'
import { mapState } from 'vuex'
export default {
  data () {
    return {
    }
  },
  created () {
  },
  computed: {
    key () {
      return this.$store.state.Tabbar.isLogin
    }
  },
  components: {
    Tabbar
  }
}
</script>
<style lang="less">
#app {
  font-family: Avenir, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: auto;
}
#app::-webkit-scrollbar {
  display: none;
}
</style>
